package com.jindy.module.statement.mapper;

import java.util.List;
import com.jindy.module.statement.domain.LogisticsExpenses;

/**
 * 物流及辅料费用Mapper接口
 *
 * @author ruoyi
 * @date 2022-10-27
 */
public interface LogisticsExpensesMapper
{
    /**
     * 查询物流及辅料费用
     *
     * @param id 物流及辅料费用主键
     * @return 物流及辅料费用
     */
    public LogisticsExpenses selectLogisticsExpensesById(Long id);

    /**
     * 查询物流及辅料费用列表
     *
     * @param logisticsExpenses 物流及辅料费用
     * @return 物流及辅料费用集合
     */
    public List<LogisticsExpenses> selectLogisticsExpensesList(LogisticsExpenses logisticsExpenses);

    /**
     * 新增物流及辅料费用
     *
     * @param logisticsExpenses 物流及辅料费用
     * @return 结果
     */
    public int insertLogisticsExpenses(LogisticsExpenses logisticsExpenses);
    public int insertLogisticsExpensess(List<LogisticsExpenses> logisticsExpenses);

    /**
     * 修改物流及辅料费用
     *
     * @param logisticsExpenses 物流及辅料费用
     * @return 结果
     */
    public int updateLogisticsExpenses(LogisticsExpenses logisticsExpenses);

    /**
     * 删除物流及辅料费用
     *
     * @param id 物流及辅料费用主键
     * @return 结果
     */
    public int deleteLogisticsExpensesById(Long id);
    public int deleteLogisticsExpensesByOrderId(Long orderId);

    /**
     * 批量删除物流及辅料费用
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteLogisticsExpensesByIds(Long[] ids);
}
